package com.qf.service.impl;/*
 *徐韬
 *2021/10/18
 *15:08
 */

import com.qf.service.StudentService;

public class StudentServiceimpl implements StudentService {
    @Override
    public void add() {
        System.out.println("添加方法");
    }

    @Override
    public Integer modfiy() {
        System.out.println("修改方法");
        return 1;
    }

    @Override
    public Integer remove() {

        System.out.println("删除方法");
        return null;
    }

    @Override
    public void show() {
        System.out.println("查询单个方法");
        throw new RuntimeException("有异常  将异常抛出");
    }

    @Override
    public void showAll() {
        System.out.println("查询所有方法");
    }
}
